<?php
/**
 * 作者：李玉玲
 * 邮箱: 1332189576@qq.com
 * 日期: 14-11-5
 * 时间: 上午10:31
 */
namespace Api;

use Zend\Mvc\ModuleRouteListener;
use Zend\Mvc\MvcEvent;

class Module
{
    /*public function onBootstrap(MvcEvent $e)
    {
        $eventManager=$e->getApplication()->getEventManager();
        $moduleRouteListener=new ModuleRouteListener();
        $moduleRouteListener->attach($eventManager);
    }*/

    public function getAutoloaderConfig()
    {
        return array(
            'Zend\Loader\StandardAutoloader' => array(
                'namespaces' => array(
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
                ),
            ),
        );
    }
}